<Schema name="FDTTopologyImportExportSchema"
	xmlns="urn:schemas-microsoft-com:xml-data"
	xmlns:dt="urn:schemas-microsoft-com:datatypes"
	xmlns:fdt="x-schema:FDTDataTypesSchema.xml"
	xmlns:dtmInfo="x-schema:DTMInformationSchema.xml"
	xmlns:btm="x-schema:BtmDataTypesSchema.xml"
	xmlns:btmInfo="x-schema:BtmInformationSchema.xml"
	xmlns:dtmParam="x-schema:DTMParameterSchema.xml"     
>       														     
	<!--Definition of Attributes-->
	<AttributeType name="date" dt:type="date"/>
	<AttributeType name="time" dt:type="time"/>
	<AttributeType name="comment" dt:type="string"/>
	<AttributeType name="identifier" dt:type="string"/>
	<AttributeType name="label" dt:type="string"/>
	<AttributeType name="category" dt:type="string"/>
	<AttributeType name="uuid" dt:type="uuid"/>
	<AttributeType name="progId" dt:type="string"/>
	<AttributeType name="systemTag" dt:type="string"/>
	<AttributeType name="dataStream" dt:type="bin.hex"/>
	<AttributeType name="projectName" dt:type="string"/>
	<AttributeType name="propertyName" dt:type="string"/>
	<AttributeType name="propertyValue" dt:type="bin.hex"/>
	<AttributeType name="propertyValueType" dt:type="ui4"/>
	<AttributeType name="frameApplicationTag" dt:type="string"/>
	<AttributeType name="gatewayBusCategory" dt:type="uuid"/>
	<!--Definition of Elements-->
	<ElementType name="ChannelSubNodes" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<element type="DTMNode" minOccurs="0" maxOccurs="*"/>
		<element type="BTMNode" minOccurs="0" maxOccurs="*"/>
		<element type="StructuringNode" minOccurs="0" maxOccurs="*"/>
	</ElementType>
	<ElementType name="FDTChannelType" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<element type="fdt:VersionInformation" minOccurs="1" maxOccurs="1"/>
		<attribute type="gatewayBusCategory" required="no"/>
	</ElementType>
	<ElementType name="ChannelNode" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="frameApplicationTag" required="no"/>
		<attribute type="label" required="yes"/>
		<attribute type="fdt:tag" required="yes"/>
		<attribute type="fdt:id" required="yes"/>
		<element type="FDTChannelType" minOccurs="1" maxOccurs="1"/>
		<element type="ChannelSubNodes" minOccurs="0" maxOccurs="1"/>
	</ElementType>
	<ElementType name="StructuringSubNodes" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<element type="DTMNode" minOccurs="0" maxOccurs="*"/>
		<element type="BTMNode" minOccurs="0" maxOccurs="*"/>
		<element type="StructuringNode" minOccurs="0" maxOccurs="*"/>
	</ElementType>
	<ElementType name="StructuringNode" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="identifier" required="yes"/>
		<attribute type="label" required="yes"/>
		<attribute type="category" required="no"/>
		<element type="StructuringSubNodes" minOccurs="1" maxOccurs="1"/>
	</ElementType>
	<ElementType name="Property" content="empty" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="propertyName" required="yes"/>
		<attribute type="propertyValue" required="yes"/>
		<attribute type="propertyValueType" required="yes"/>
	</ElementType>
	<ElementType name="PropertyBag" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<element type="Property" minOccurs="0" maxOccurs="*"/>
	</ElementType>
	<ElementType name="Stream" content="empty" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="dataStream" required="yes"/>
	</ElementType>
	<ElementType name="ImportExport" content="empty" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="dataStream" required="yes"/>
	</ElementType>
	<ElementType name="Dataset" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="systemTag" required="yes"/>
		<group minOccurs="1" maxOccurs="1" order="one">
			<element type="PropertyBag" minOccurs="1" maxOccurs="1"/>
			<element type="Stream" minOccurs="1" maxOccurs="1"/>
			<element type="ImportExport" minOccurs="1" maxOccurs="1"/>
		</group>
	</ElementType>
	<ElementType name="ProgId" content="empty" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="progId" required="yes"/>
	</ElementType>
	<ElementType name="UUID" content="empty" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="uuid" required="yes"/>
	</ElementType>
	<ElementType name="DTM" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<element type="dtmInfo:FDTVersion" minOccurs="1" maxOccurs="1"/>
		<element type="fdt:VersionInformation" minOccurs="1" maxOccurs="1" />
		<element type="fdt:DtmDeviceType" minOccurs="1" maxOccurs="1"/>
		<element type="dtmParam:BusInformation" minOccurs="0" maxOccurs="1"/>             
		<group order="one" minOccurs="1" maxOccurs="1">
			<element type="UUID"/>
			<element type="ProgId"/>
		</group>
	</ElementType>
	<ElementType name="BTM" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<element type="dtmInfo:FDTVersion" minOccurs="1" maxOccurs="1"/>
		<element type="fdt:VersionInformation" minOccurs="1" maxOccurs="1" />
		<element type="btm:BtmBlockType" minOccurs="1" maxOccurs="1"/>
		<group order="one" minOccurs="1" maxOccurs="1">
			<element type="UUID"/>
			<element type="ProgId"/>
		</group>
	</ElementType>
	<ElementType name="DTMSubNodes" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<element type="ChannelNode" minOccurs="1" maxOccurs="*"/>
	</ElementType>
	<ElementType name="DTMNode" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="identifier" required="yes"/>
		<attribute type="label" required="yes"/>
		<element type="DTM" minOccurs="1" maxOccurs="1"/>
		<element type="Dataset" minOccurs="0" maxOccurs="1"/>
		<element type="DTMSubNodes" minOccurs="0" maxOccurs="1"/>
	</ElementType>
	<ElementType name="BTMNode" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="identifier" required="yes"/>
		<attribute type="label" required="yes"/>
		<element type="BTM" minOccurs="1" maxOccurs="1"/>
		<element type="Dataset" minOccurs="0" maxOccurs="1"/>
	</ElementType>
	<ElementType name="Source" content="empty" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="identifier" required="no"/>
		<attribute type="label" required="yes"/>
		<attribute type="projectName" required="yes"/>
	</ElementType>
	<ElementType name="Description" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="date" required="yes"/>
		<attribute type="time" required="yes"/>
		<attribute type="comment" required="no"/>
		<element type="Source" minOccurs="1" maxOccurs="1"/>
	</ElementType>
	<ElementType name="FDT" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<element type="Description" minOccurs="1" maxOccurs="1"/>
		<group order="one" minOccurs="1" maxOccurs="1">
			<element type="DTMNode" minOccurs="1" maxOccurs="1"/>
			<element type="BTMNode" minOccurs="1" maxOccurs="1"/>
			<element type="StructuringNode" minOccurs="1" maxOccurs="1"/>
		</group>
	</ElementType>
</Schema>
